export default [
    {
        path: "goods-manager/goods-list",
        name: "goodsList",
        component: () => import("../../components/GoodsList"),
        meta: {
            crumb: "首页_商品管理_商品列表"
        }
    }, {
        path: "goods-manager/add-goods",
        name: "addGoods",
        component: () => import("../../components/AddGoods"),
        meta: {
            crumb: "首页_商品管理_添加商品"
        }
    }, {
        path: "goods-manager/edit-goods/:goods_id",
        name: "editGoods",
        component: () => import("../../components/EditGoods"),
        meta: {
            crumb: "首页_商品管理_编辑商品"
        },
        props: true
    }, {
        path: "goods-manager/classify-params",
        name: "classifyParams",
        component: () => import("../../components/ClassifyParams"),
        meta: {
            crumb: "首页_商品管理_分类参数"
        },
    }, {
        path: 'goods-manager/classify-params/:path',
        name: 'addParamsOrAttr',
        component: () => import('../../components/AddParamsOrAttr'),
        meta: {
            crumb: '首页_商品管理_分类参数'
        },
        props: true
    }, {
        path: "goods-manager/add-calssify",
        name: "addCate",
        component: () => import("../../components/AddCate"),
        meta: {
            crumb: "首页_商品管理_添加分类"
        },
        props: true
    }, {
        path: "goods-manager/classify-of-goods",
        name: "classifyOfGoods",
        component: () => import("../../components/ClassifyOfGoods"),
        meta: {
            crumb: "首页_商品管理_商品分类"
        }
    }, {
        path: 'goods-manager',
        redirect: {name: 'goodsList'}
    }
]